//*****************************************************************************
//
// ABEC3 Solving File
// Project: Speaker cabinet vented passive
//
//*****************************************************************************

// Script with vertex coordinates
File="Nodes.txt"

// Controlling parameters of the solver
Control_Solver
  f1=20  
  f2=500  
  NumFrequencies=48  
  Abscissa=log
  Dim=3D
  Sym=y 
  MeshFrequency=1500Hz
  Meshing=Bifu 


SubDomain_Properties 'Exterior'
  SubDomain=1
  ElType=Exterior            // Radiation to infinity

Infinite_Baffle
  SubDomain=1
  IBPlane=z                  // Floor reflection


// Side and rear boundaries  
Elements "Enclosure-Exterior"
  RefNodes="NF"
  SubDomain=1
  101   1201  1204  1203  1202  // rear wall
  102   1002  1202  1203  1003  // side wall
  103   1004  1003  1203  1204  // top wall
  //104   1001  1201  1202  1002  // bottom wall (removed because of IB)

// Front boundary with diaphragms  
Baffle "Exterior"
  Subdomain=1
  EdgeLength=70mm,30mm
  RefNodes="NF"
  Vertices=1001,1002,1003,1004  
  101  Ref="Cone active"  x=0  y=420.0mm  // 150mm + 250mm + 20mm
  102  Ref="Cone passive" x=0  y=170.0mm  // 150mm + 20mm

// Diaphragm of active speaker  
Diaphragm  "Cone active"
  DrvGroup=1001                // Driving group link to observation stage
  SubDomain=1                  
  Side=Front                   // Creates elements for the front side of the diaphragm
  EdgeLength=50mm
  dD=200mm                     // Diameter of cone
  tD1=50mm                     // Inner depth of cone to base of dust cap
  dD1=70mm                     // Diameter of dust cap
  hD1=25mm                     // Height of dust cap

// Diaphragm of passive speaker  
Diaphragm  "Cone passive"
  DrvGroup=1002                
  SubDomain=1                  
  RefDiaphragm="Cone active"   // Inherit all parameters
